<%--
  Created by IntelliJ IDEA.
  User: 徐沅澧
  Date: 2018/7/12
  Time: 9:34
  To change this template use File | Settings | File Templates.
  学员转正所需表单
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div id="client2formalstudent_dialog" class="easyui-dialog" style="padding: 10px" data-options="title:'转正学员',closed:true,buttons:'#formalStudent_btns'">
    <form id="client2formalStudent_edit_form" method="post">
        <div id="tt" class="easyui-tabs" style="width:650px;height:390px;">
            <div title="基本信息">
                <input type="hidden" name="id">
                <table align="center" style="font-size: 12px" width="600px" cellpadding="0px" cellspacing="0px">
                    <tr style="height: 10px"></tr>
                    <tr>
                        <td colspan="6">
                            <span style="font-size: 16px;color: #00aff0"><b>基本信息</b></span>
                        </td>
                    </tr>

                    <tr style="height: 25px">
                        <td><span style="font-size: 12px">姓名:</span></td>
                        <td><input class="easyui-validatebox formalStudent_view" name="name" style="width: 120px;height: 21px;"/></td>
                        <td><span style="font-size: 12px">年龄:</span></td>
                        <td><input type="text" name="age" class="formalStudent_view" style="width: 120px;height: 21px;"></td>
                        <td><span style="font-size: 12px">性别:</span></td>
                        <td>
                            <select class="easyui-combobox formalStudent_view" name="gender" style="width: 120px;height: 21px;"
                                    data-options="panelHeight:'auto'">
                                <option value="男">男</option>
                                <option value="女">女</option>
                            </select>
                        </td>
                    </tr>
                    <tr style="height: 25px">
                        <td><span style="font-size: 12px">QQ:</span></td>
                        <td><input type="text" name="qq" class="formalStudent_view" style="width: 120px;height: 21px;"/></td>
                        <td><span style="font-size: 12px">电话:</span></td>
                        <td><input type="text" data-options="" name="tel" class="formalStudent_view" style="width: 120px;height: 21px;"></td>
                        <td><span style="font-size: 12px">地址:</span></td>
                        <td><input type="text" name="address" class="formalStudent_view" style="width: 120px;height: 21px;"></td>
                    </tr>
                    <tr style="height: 25px">
                        <td><span style="font-size: 12px">邮箱:</span></td>
                        <td><input class="easyui-validatebox formalStudent_view" data-options=""
                                   name="email" style="width: 120px;height: 21px;"/></td>
                        <td><span style="font-size: 12px">学员来源:</span></td>
                        <td><input type="text" class="easyui-combobox formalStudent_view" name="source.id"
                                   style="width: 120px;height: 21px;"
                                   data-options="url:'/systemDictionaryItem/listAllItemBySn?sn=source',valueField:'id',textField:'name',panelHeight:'auto'">
                        </td>
                        <td><span style="font-size: 12px">营销人员:</span></td>
                        <td><input type="text"  name="saleman.realName" class="formalStudent_view"
                                   style="width: 120px;height: 21px;"
                                   data-options="panelHeight:'auto'" readonly>
                            <input type="hidden" name="saleman.id">
                        </td>
                    </tr>
                    <tr style="height: 25px">
                        <td><span style="font-size: 12px">学历:</span></td>
                        <td><input type="text" class="easyui-combobox formalStudent_view"
                                   data-options="url:'/systemDictionaryItem/listAllItemBySn?sn=eduBackground',valueField:'id',textField:'name',panelHeight:'auto'"
                                   name="eduBackground.id" style="width: 120px;height: 21px;"></td>
                        <td><span style="font-size: 12px">学校:</span></td>
                        <td><input type="text" name="school" class="formalStudent_view" style="width: 120px;height: 21px;"></td>
                        <td><span style="font-size: 12px">专业:</span></td>
                        <td><input type="text" name="major" class="formalStudent_view" style="width: 120px;height: 21px;"></td>
                    </tr>
                    <tr style="height: 25px">
                        <td><span style="font-size: 12px">工作年限:</span></td>
                        <td><input type="text" name="yearsOfWorking" class="formalStudent_view" style="width: 120px;height: 21px;"></td>
                        <td><span style="font-size: 12px">所在班级:</span></td>
                        <td><input type="text" class="easyui-combobox formalStudent_view" name="clz.id"
                                   data-options="url:'/classgrade/listAllClassGradeJson',valueField:'id',textField:'name',panelHeight:'auto'"
                                   style="width: 120px;height: 21px;"/>
                        </td>
                        <td><span style="font-size: 12px">所在校区:</span></td>
                        <td><input type="text" class="easyui-combobox formalStudent_view" name="campus.id"
                                   style="width: 120px;height: 21px;"
                                   data-options="url:'/systemDictionaryItem/listAllItemBySn?sn=campus',valueField:'id',textField:'name',panelHeight:'auto'">
                        </td>
                    </tr>
                    <tr style="height: 25px">
                        <td><span style="font-size: 12px">付款方式:</span></td>
                        <td><input type="text" class="easyui-combobox formalStudent_view" name="paymentMethod.id"
                                   style="width: 120px;height: 21px;"
                                   data-options="url:'/systemDictionaryItem/listAllItemBySn?sn=size',valueField:'id',textField:'name',panelHeight:'auto'">
                        </td>
                    </tr>
                    <tr style="height: 10px"></tr>
                    <tr>
                        <td colspan="6">
                            <span style="font-size: 16px;color: #00aff0"><b>缴费信息</b></span>
                        </td>
                    </tr>
                    <tr style="height: 25px">
                        <td><span style="font-size: 12px">应缴学费:</span></td>
                        <td><input type="text" name="receivable" class="autoCal" style="width: 120px;height: 21px;" ></td>
                        <td><span style="font-size: 12px">其他费用:</span></td>
                        <td><input type="text" name="otherCost" class="autoCal" style="width: 120px;height: 21px;" ></td>
                        <td><span style="font-size: 12px">优惠金额:</span></td>
                        <td><input type="text" name="discount" class="autoCal" style="width: 120px;height: 21px;" ></td>
                    </tr>
                    <tr style="height: 25px">
                        <td><span style="font-size: 12px">总学费:</span></td>
                        <td><input type="text" name="totalTuition" class="autoCal"  style="width: 120px;height: 21px;" ></td>
                        <td><span style="font-size: 12px">优惠说明:</span></td>
                        <td><input type="text" name="discountInfo" style="width: 120px;height: 21px;" ></td>
                        <td><span style="font-size: 12px">预付学费:</span></td>
                        <td><input type="text" name="advance"  class="autoCal" style="width: 120px;height: 21px;" ></td>
                    </tr>
                    <tr style="height: 25px">
                        <td><span style="font-size: 12px">已付学费:</span></td>
                        <td><input type="text" name="alreadyPaid" class="autoCal" style="width: 120px;height: 21px;" ></td>
                        <td><span style="font-size: 12px">还欠学费:</span></td>
                        <td><input type="text" name="remainPaid" style="width: 120px;height: 21px;" ></td>
                        <td><span style="font-size: 12px">最后付款时间:</span></td>
                        <td><input class="easyui-datebox" name="paymentTime" style="width: 120px;height: 21px;" >
                        </td>
                    </tr>
                </table>
            </div>

            <div title="私密信息" data-options="closable:true" style="overflow:auto;padding:20px;display:none;">
                <table align="center" style="border-collapse:separate; border-spacing:0px 10px;">
                    <tr>
                        <%--<td rowspan="3" align="center" width="20px">
                            <div id="headImg"></div>
                            <input type="file" name="headImg" onchange="preview(this)"/>
                        </td>--%>
                        <%--<td width="10"></td>--%>
                        <td ><span style="font-size: 12px">身份证号:</span></td>
                        <td><input type="text" name="idnum" class="formalStudent_view" size="35"></td>
                    </tr>
                    <tr>
                        <%--<td width="10"></td>--%>
                        <td ><span style="font-size: 12px">紧急联系人:</span></td>
                        <td><input type="text" name="emergencyContact" class="formalStudent_view" size="35"></td>
                    </tr>
                    <tr>
                        <%--<td width="10"></td>--%>
                        <td ><span style="font-size: 12px">紧急联系电话:</span></td>
                        <td><input type="text" name="emergencyTel" class="formalStudent_view" size="35"></td>
                    </tr>
                </table>


                <HR width="100%" color="white" SIZE=2>
                <table align="center" cellpadding="5px">
                    <tr>
                        <td align="right"><span style="font-size: 12px">备注</span>:</td>
                        <td colspan="3"><textarea name="remark"
                                                  style="width: 450px;height: 130px"></textarea></td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
</div>

<%--编辑dialog的buttons--%>
<div id="formalStudent_btns">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="saveFormalStudent">保存</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancelFormalStudent">取消</a>
</div>